#ifndef SETTINGS_H_
#define SETTINGS_H_

#include <ctime>

/** Class Settings
 * 
 * 
 *  Singleton for the storage of the settings of the bank
 * 
 *  @author: Dizus Fire
 */
class settings
{
public:

	static settings*
	getInstance();

	float
	getPossibilidadeChegada() const;
	
	void
	setPossibilidadeChegada( const float);
	
	void
	setExpediente( const time_t );
	
	time_t
	getExpediente() const;
	
	void
	setTempoMaximo( const time_t);
	
	int
	getTempoMaximo() const;
	
	time_t
	getInitTime () const;
	
	void
	resetInitTime ();

protected:

	settings();

	settings(const settings&);

	virtual ~settings();

private:

	static settings*
	settingsInstance;

	float
	possibilidadeChegada;

	time_t
	expediente;

	int
	tempoMaximo;

	time_t
	initTime;
};

#endif /*SETTINGS_H_*/
